package com.cqie.practicaltraining.service;

import com.cqie.practicaltraining.config.result.R;
import com.cqie.practicaltraining.domain.Pasture;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqie.practicaltraining.dto.PastureSelectDto;

/**
* @author 9977
* @description 针对表【pasture(牧场)】的数据库操作Service
* @createDate 2024-12-26 10:47:28
*/
public interface PastureService extends IService<Pasture> {
    R getPastureCondition(PastureSelectDto pastureSelectDto);
    R getPastureByPastureId(Long pastureId);
    R addPasture(Pasture pasture);
    R editPasture(Pasture pasture);
    R changeStatus(Long pastureId);
    R getAllPastureName();
}
